import encrypt.MCrypt;


public class TestMcrypt {
	public static void main(String [] args) {
		MCrypt mCrypt = new MCrypt();
		String s = "super thin kun";
		try {
			System.out.println(mCrypt.encryptToHexString(s));
			System.out.println(mCrypt.decryptFromHexString("864ea5450388f7df8586260fbae6fd5a"));
			
			System.out.println(mCrypt.encryptToBase64String(s));
			System.out.println(mCrypt.decryptFromBase64String("hk6lRQOI99+FhiYPuub9Wg=="));
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
